package com.woniuxy.java102vuecli.service;

import com.woniuxy.java102vuecli.entity.Employee;
import com.woniuxy.java102vuecli.entity.PageBean;

/**
 * @Author author
 * @Create 2023-09-14 11:40
 */
public interface EmployeeService {

    PageBean<Employee> getEmployees(int pageIndex, int pageSize, Employee employee);

    Boolean emailExists(String email);

    void addEmployee(Employee employee);

    Employee login(String ename,String password);
}
